package com.zyl.Ecs.auth.service;

import com.github.yulichang.base.MPJBaseService;
import com.zyl.Ecs.common.domain.auth.bean.Permission;
import com.zyl.Ecs.common.domain.auth.ext.PermissionExt;
import com.zyl.Ecs.common.exception.EcsException;

import java.util.List;

/**
* @version v1.0
* @Package: com.zyl.Ecs.auth.service
* @ClassName: PermissionService
* @Description 针对表【base_permission】的数据库操作Service实现
* @Author 翟玉龙
* @Date 2024-12-04 16:36:41
*/

public interface PermissionService extends MPJBaseService<Permission> {

    /**
     * 获取权限列表
     *
     * @return {@link List }<{@link PermissionExt }>
     * @throws EcsException 异常
     */
    List<PermissionExt> getList() throws EcsException;
}
